package com.ssmfuse.domain;

public class Question {

    //题号
    private int id;
    //题目名称
    private String question_name;
    //题目答案
    private String question_answer;
    //题目解释
    private String question_explain;

    public Question() {
    }

    public Question(String question_name, String question_answer, String question_explain) {
        this.question_name = question_name;
        this.question_answer = question_answer;
        this.question_explain = question_explain;
    }

    public Question(int id, String question_name, String question_answer, String question_explain) {
        this.id = id;
        this.question_name = question_name;
        this.question_answer = question_answer;
        this.question_explain = question_explain;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getQuestion_name() {
        return question_name;
    }

    public void setQuestion_name(String question_name) {
        this.question_name = question_name;
    }

    public String getQuestion_answer() {
        return question_answer;
    }

    public void setQuestion_answer(String question_answer) {
        this.question_answer = question_answer;
    }

    public String getQuestion_explain() {
        return question_explain;
    }

    public void setQuestion_explain(String question_explain) {
        this.question_explain = question_explain;
    }

    @Override
    public String toString() {
        return "Question{" +
                "题号为=" + id +
                ", 题目名称='" + question_name + '\'' +
                ", 题目答案='" + question_answer + '\'' +
                ", 题目解释='" + question_explain + '\'' +
                '}';
    }

}
